package com.doubi.model.sys;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 *
 * 订单信息
 *
 * @author MrDoubi
 * @since 2020-03-17
 */
@Data
@TableName("t_order_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TOrderInfo extends Model<TOrderInfo>{

private static final long serialVersionUID=1L;

            @TableId(value = "oid", type = IdType.UUID)
                
    private String oid;


        @Override
        protected Serializable pkVal() {
            return this.oid;
        }
        @TableField("user_oid")
        
    private String userOid;


    /**
     * 1.酒店 2.摄影师3.摄像4.化妆 5.主持人
     */
        @TableField("type")
        
    private Integer type;


    /**
     * 1.待处理2.进行中 3.待评价 4.售后
     */
    @TableField("type_one")

    private Integer typeOne;
    @TableField("type_two")

    private Integer typeTwo;


    /**
     * 订单号
     */
        @TableField("order_number")
        
    private String orderNumber;


        @TableField("title")
        
    private String title;


    /**
     * 商家oid
     */
        @TableField("service_user_oid")
        
    private String serviceUserOid;


    /**
     * 预定日期
     */
        @TableField("reserve_time")
        
    private Date reserveTime;


    /**
     * 预定人
     */
        @TableField("reserve_name")
        
    private String reserveName;


    /**
     * 预约电话
     */
        @TableField("reserve_phone")
        
    private String reservePhone;


    /**
     * 预订人身份证
     */
        @TableField("reserve_id_card")
        
    private String reserveIdCard;


        @TableField("create_time")
        
    private Date createTime;


        @TableField("pay_time")
        
    private Date payTime;


    /**
     * 1.微信 2.支付宝
     */
        @TableField("pay_type")
        
    private Integer payType;


    /**
     * 状态1.未支付 2.已支付 3.待评价 4.已完成 
     */
        @TableField("status")
        
    private Integer status;


    /**
     * 1.退款中 2.退款完成 3.退款关闭
     */
        @TableField("refund_status")
        
    private Integer refundStatus;


        @TableField("is_delete")
            @TableLogic

    private Integer isDelete;


    /**
     * 结束时间
     */
        @TableField("end_time")
        
    private Date endTime;


    /**
     * 评价时间
     */
        @TableField("evaluate_time")
        
    private Date evaluateTime;

    /**
     * 价格
     */
    @TableField("price")

    private BigDecimal price;

    /**
     * 关联oid
     */
    @TableField("other_oid")

    private String otherOid;




        }